import React, {Component} from 'react';
import './DialogContainer.css';

class DialogContainer extends Component {
    constructor(props) {
        super(props);
    }
    render() {
        return (
            <>
                {this.props.isShow ? 
                    <div className="dialog-container">{this.props.children}</div> :
                    ''}
            </>
        );
    }
}

export default DialogContainer;
